package com.faithbj.common.model.compare;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.MappedSuperclass;

import com.faithbj.common.model.BaseEntity;
/**
 * 委办返回数据父类
 * @author chen liu
 *
 */
@MappedSuperclass
public abstract class OfficalDataEntity extends BaseEntity{
	private static final long serialVersionUID = 1L;
	
	@Column(name = "apply_num", nullable = false)
	private String applyNum;         // 申请编号=受理编号
	
	@Column(name = "batch_num", nullable = false)
	private String batchNum;         // 批次号

	@Column(name = "department_num", nullable = false)
	private String departmentNum;    // 部委编码
    
	@Column(name = "main_applicant_name", nullable = false)
	private String mainApplicantName; // 主申请人姓名
    
	@Column(name = "main_applicant_card_type", nullable = false)
	private String mainApplicantCardType; // 主申请人证件类型
    
	@Column(name = "main_applicant_card_num", nullable = false)
	private String mainApplicantCardNum;  // 主申请人证件号
    
	@Column(name = "applicant_name", nullable = false)
	private String applicantName;         // 申请人姓名
    
	@Column(name = "applicant_card_type", nullable = false)
	private String applicantCardType;     // 申请人证件类型
    
	@Column(name = "applicant_card_num", nullable = false)
	private String applicantCardNum;      // 申请人证件号
    
	@Column(name = "is_query_returned", nullable = false)
	private Integer isQueryReturned;        // 查询是否返回
    
	@Column(name = "query_start_dt", nullable = false)
	private Date queryStartDt;            // 查询起始时间
    
	@Column(name = "query_end_dt", nullable = false)
	private Date queryEndDt;              // 查询结束时间
    
	@Column(name = "query_return_dt")
	private Date queryReturnDt;           // 查询返回时间
    
	public OfficalDataEntity() {}

    public OfficalDataEntity(String applyNum, String batchNum,
			String departmentNum, String mainApplicantName,
			String mainApplicantCardType, String mainApplicantCardNum,
			String applicantName, String applicantCardType,
			String applicantCardNum, Integer isQueryReturned, Date queryStartDt,
			Date queryEndDt, Date queryReturnDt) {
		this.applyNum = applyNum;
		this.batchNum = batchNum;
		this.departmentNum = departmentNum;
		this.mainApplicantName = mainApplicantName;
		this.mainApplicantCardType = mainApplicantCardType;
		this.mainApplicantCardNum = mainApplicantCardNum;
		this.applicantName = applicantName;
		this.applicantCardType = applicantCardType;
		this.applicantCardNum = applicantCardNum;
		this.isQueryReturned = isQueryReturned;
		this.queryStartDt = queryStartDt;
		this.queryEndDt = queryEndDt;
		this.queryReturnDt = queryReturnDt;
	}
	
	public String getApplyNum() {
		return applyNum;
	}
	public void setApplyNum(String applyNum) {
		this.applyNum = applyNum;
	}
	public String getBatchNum() {
		return batchNum;
	}
	public void setBatchNum(String batchNum) {
		this.batchNum = batchNum;
	}
	public String getDepartmentNum() {
		return departmentNum;
	}
	public void setDepartmentNum(String departmentNum) {
		this.departmentNum = departmentNum;
	}
	public String getMainApplicantName() {
		return mainApplicantName;
	}
	public void setMainApplicantName(String mainApplicantName) {
		this.mainApplicantName = mainApplicantName;
	}
	public String getMainApplicantCardType() {
		return mainApplicantCardType;
	}
	public void setMainApplicantCardType(String mainApplicantCardType) {
		this.mainApplicantCardType = mainApplicantCardType;
	}
	public String getMainApplicantCardNum() {
		return mainApplicantCardNum;
	}
	public void setMainApplicantCardNum(String mainApplicantCardNum) {
		this.mainApplicantCardNum = mainApplicantCardNum;
	}
	public String getApplicantName() {
		return applicantName;
	}
	public void setApplicantName(String applicantName) {
		this.applicantName = applicantName;
	}
	public String getApplicantCardType() {
		return applicantCardType;
	}
	public void setApplicantCardType(String applicantCardType) {
		this.applicantCardType = applicantCardType;
	}
	public String getApplicantCardNum() {
		return applicantCardNum;
	}
	public void setApplicantCardNum(String applicantCardNum) {
		this.applicantCardNum = applicantCardNum;
	}
	
	public Integer getIsQueryReturned() {
		return isQueryReturned;
	}

	public void setIsQueryReturned(Integer isQueryReturned) {
		this.isQueryReturned = isQueryReturned;
	}

	public Date getQueryStartDt() {
		return queryStartDt;
	}
	public void setQueryStartDt(Date queryStartDt) {
		this.queryStartDt = queryStartDt;
	}
	public Date getQueryEndDt() {
		return queryEndDt;
	}
	public void setQueryEndDt(Date queryEndDt) {
		this.queryEndDt = queryEndDt;
	}
	public Date getQueryReturnDt() {
		return queryReturnDt;
	}
	public void setQueryReturnDt(Date queryReturnDt) {
		this.queryReturnDt = queryReturnDt;
	}
}
